Skip to content

feat(ci): Add Opengrep as a reusable workflow #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 18, 2025
Merged

Conversation

GeekMasher
Copy link
Contributor

@GeekMasher GeekMasher commented Feb 18, 2025

This pull request introduces a new GitHub Actions workflow for integrating Opengrep security scanning into the repository. The workflow sets up the necessary environment, downloads and installs Opengrep, runs the scan, and uploads the results.

@GeekMasher GeekMasher requested a review from a team as a code owner February 18, 2025 13:39
Copy link

github-actions bot commented Feb 18, 2025

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
actions/actions/checkout 4.*.* 🟢 6
Details
CheckScoreReason
Maintained⚠️ 22 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 2
Binary-Artifacts🟢 10no binaries found in the repo
Code-Review🟢 10all changesets reviewed
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
License🟢 10license file detected
Fuzzing⚠️ 0project is not fuzzed
Signed-Releases⚠️ -1no releases found
Security-Policy🟢 9security policy file detected
Pinned-Dependencies🟢 3dependency not pinned by hash detected -- score normalized to 3
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
Packaging🟢 10packaging workflow detected
SAST🟢 9SAST tool detected but not run on all commits
Vulnerabilities🟢 37 existing vulnerabilities detected
actions/github/codeql-action/upload-sarif 3.*.* UnknownUnknown

Scanned Files

  • .github/workflows/sec-opengrep.yml

Copy link
Contributor

@felickz felickz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

env:
# Release version of Opengrep
# https://github.com/opengrep/opengrep/releases
RELEASE_VERSION: v1.0.0-alpha.13
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I presume they will release an action wrapper at some point, or we can grab latest release via script

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll send in a PR if not

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should be careful with this versioning. They are already have deleted versions. The alpha3 and it broke my workflow

@GeekMasher GeekMasher merged commit 0a3f94c into main Feb 18, 2025
7 checks passed
@GeekMasher GeekMasher deleted the sec-opengrep branch February 18, 2025 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants